package cn.micro.eye.convert;

import cn.micro.eye.entity.Account;
import cn.micro.eye.model.add.AccountRegister;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper(componentModel = "spring")
public interface AccountConvert {

    AccountConvert INSTANCE = Mappers.getMapper(AccountConvert.class);

    Account toEntity(AccountRegister accountRegister);
    
}
